import { View } from 'react-native';
import React from 'react';
import { WingBlank } from '@ant-design/react-native';
import PropTypes from 'prop-types';
import List from './components/List';

const MineLogView = ({ navigation, logList, getLogList }) => (
    <View>
        <WingBlank>
            <List navigation={navigation} logList={logList} getList={getLogList} />
        </WingBlank>
    </View>
);
MineLogView.defaultProps = {
    logList: [],
    getLogList: () => {},
};
MineLogView.propTypes = {
    logList: PropTypes.arrayOf(PropTypes.any),
    getLogList: PropTypes.func,
};
export default MineLogView;
